package cn.darkhorse.common.util;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author yuanjun
 * @since 2021/8/17 14:16
 */
@Data
@Accessors(chain = true)
public class MergeParams {
    private Integer sheetNum;
    private Integer startRow;
    private List<Integer> columns;

    public MergeParams setColumn(Integer ...column) {
        columns = new ArrayList<Integer>();
        Collections.addAll(columns,column);
        return this;
    }
}
